#define _CRT_SECURE_NO_WARNINGS

#include "list.h"

int main()
{
	list<int> l1;
	l1.push_back(1);
	l1.push_back(2);
	l1.push_back(3);
	l1.push_back(4);
	l1.Print();

	list<int> l2;
	l2.push_front(1);
	l2.push_front(2);
	l2.push_front(3);
	l2.push_front(4);
	l2.Print();

	l1.pop_back();
	l1.pop_front();
	l1.Print();
	return 0;
}